package com.demo.service.impl;

import com.demo.dao.BuiDingMapper;
import com.demo.beans.Buiding;
import com.demo.service.BuiDingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BuiDingServiceImpl implements BuiDingService {
    @Autowired
    private BuiDingMapper buiDingMapper;
    @Override
    public List<Buiding> getBuidingList() {
        return buiDingMapper.getBuidingList();
    }
}
